import Vue from 'vue'
import App from './App.vue'
import 'view-design/dist/styles/iview.css';
import '@/assets/index.scss'
import router from '@/pages/edit/router/index'
import "viewerjs/dist/viewer.css";
import VueViewer from "v-viewer";

import {Button, Table, Modal, ColorPicker, Row, Col, Input, Message, Icon, InputNumber, Switch} from 'view-design';
// eslint-disable-next-line vue/multi-word-component-names
Vue.component("Button", Button);
// eslint-disable-next-line vue/multi-word-component-names
Vue.component("Table", Table);
Vue.component("ColorPicker", ColorPicker);
// eslint-disable-next-line vue/multi-word-component-names
Vue.component("Modal", Modal);
// eslint-disable-next-line vue/multi-word-component-names
Vue.component("Row", Row);
// eslint-disable-next-line vue/multi-word-component-names
Vue.component("Col", Col);
// eslint-disable-next-line vue/multi-word-component-names
Vue.component("Input", Input);
Vue.component("Icon", Icon);
Vue.component("InputNumber", InputNumber);
Vue.component("Switch", Switch);
Vue.use(VueViewer)
Vue.config.silent = true
Vue.config.strict = true
Vue.config.productionTip = false
Vue.prototype.$Message = Message
new Vue({
    render: h => h(App),
    router
}).$mount('#app')
